<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="/lishuoboy_javaweb_war_exploded/A02Servlet" method="post">
    <fieldset>
        <legend>姓名:</legend>
        <input type="text" name="name" value="硕">
    </fieldset>
    <fieldset>
        <legend>爱好1:</legend>
        吃<input type="checkbox" name="hobby" value="吃" checked>
        喝<input type="checkbox" name="hobby" value="喝" checked>
    </fieldset>
    <fieldset>
        <legend>爱好2:</legend>
        嫖<input type="checkbox" name="hobby2" value="嫖" checked>
        赌<input type="checkbox" name="hobby2" value="赌" checked>
    </fieldset>
    <input type="submit" value="提交">
</form>
</body>
</html>